package com.ykdl.member.kid.beans;

import java.io.Serializable;
import java.util.ArrayList;
import net.wxxr.http.interfaces.IJsonParser;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

public class SystemMessageListBean implements Serializable,IJsonParser{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3083879840021558056L;
	private ArrayList<SystemMessageBean>  messages;
	private ArrayList<SystemMessageBean>  list;
	private int new_follower_count ;
	private int new_likes_count ;
	private int next_cursor ;
	private int total_number ;
	private String desc ;
	private String error ;
	public String getDesc() {
		return desc;
	}
	public String getError() {
		return error;
	}
	public int getTotal_number() {
		return total_number;
	}
	public int getNext_cursor() {
		return next_cursor;
	}
	public ArrayList<SystemMessageBean> getMessageList() {
		return list;
	}
	public ArrayList<SystemMessageBean> getList() {
		return messages;
	}
	public int getNew_follower_count() {
		return new_follower_count;
	}
	public int getNew_likes_count() {
		return new_likes_count;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, SystemMessageListBean.class);
		}
		return null;
	}

}
